package com.marry.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by malin on 2017/7/30.
 */
@Controller
public class BloggerController {

    @RequestMapping("/hello")
    @ResponseBody
    public String hello(){
        return "hello";
    }

    @RequestMapping("/memu")
    public String memo(){
        return "admin/main";
    }
}
